<?php

if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 * Dayrui Website Management System
 *
 * @since		version 2.0.2
 * @author		Dayrui <dayrui@gmail.com>
 * @license     http://www.dayrui.com/license
 * @copyright   Copyright (c) 2011 - 9999, Dayrui.Com, Inc.
 */

class Extend extends M_Controller {

    /**
     * 构造函数
     */
    public function __construct() {
        parent::__construct();
    }
	
	/**
     * 内容
     */
    public function index() {
	    $selection = $this->check($id);
	    if($selection === FALSE) {
		    $this->msg('您尚未选择学习此课程');
	    }
	    $this->template->assign('selection',$selection);
        return $this->_extend((int)$this->input->get('id'));
    }
}